<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li>
                    <a href="#/star/order/yarn_white_list/0/0">异常检查规则</a>
                </li>
                <li class="active">规则详细</li>
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="row">
        <div class="col-sm-12 col-md-12 main">
            <div class="col-md-6 col-md-offset-3">
                <h2 style="text-align: center">异常检测规则详情信息</h2>
                <form name="form" ng-submit="form.$valid&&setDetectionRule()" novalidate>
                    <div class="form-group">
                        <label>异常上报编码</label>
                        <input type="text" class="form-control" name="ruleCode" ng-model="vm.p.ruleCode" required />
                        <span ng-show="form.ruleCode.$error.required" class="help-block" >异常上报编码!</span>
                    </div>
                    <div class="form-group">
                        <label>异常检测名称</label>
                        <input type="text" class="form-control" name="detectName" ng-model="vm.p.detectName" required />
                        <span ng-show="form.detectName.$error.required" class="help-block" >异常检测名称!</span>
                    </div>
                    <div class="form-group">
                        <label>异常策略参数</label>
                        <input type="text" class="form-control" name="detectPolicy" ng-model="vm.p.detectPolicy" required />
                        <span ng-show="form.detectPolicy.$error.required" class="help-block" >异常策略参数!</span>
                    </div>
                    <div class="form-group">
                        <label>数据源</label>
                        <input type="text" class="form-control" name="dataSource" ng-model="vm.p.dataSource" required />
                        <span ng-show="form.dataSource.$error.required" class="help-block" >数据源配置!</span>
                    </div>

                    <div class="form-group">
                        <label>负责人ID</label>
                        <input type="text" class="form-control" name="ownerId" ng-model="vm.p.ownerId" required />
                        <span ng-show="form.ownerId.$error.required" class="help-block" >负责人ID!</span>
                    </div>

                    <div class="form-group">
                        <input class="btn btn-primary" type="submit" value="确定"/>
                        <a href="#/bcp/detection/detection_rule_list" class="btn btn-default">取消</a>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div><!--/.container-->
